//
//  DayLightAlertView.m
//  汽车大灯色温蓝牙
//
//  Created by dfwx on 2020/9/23.
//  Copyright © 2020 zhongdaodianzi. All rights reserved.
//

#import "DayLightAlertView.h"

@implementation DayLightAlertView

- (void)awakeFromNib {
    
    [super awakeFromNib];
    self.contentView.layer.cornerRadius = 15;
    self.contentView.layer.masksToBounds = YES;
}

- (IBAction)selectButtonClicked:(UIButton *)sender {
    sender.selected = !sender.selected;
    
    if (self.delegate && [self.delegate respondsToSelector:@selector(DayLightAlertViewIsSelected:)]) {
        [self.delegate DayLightAlertViewIsSelected:sender.selected];
    }
}


@end
